package scfg;

public class RnaAlgoPrediction {

	private String algo;
	private String structure;
	private Integer predid;

	public String getAlgo() {
		return algo;
	}

	public void setAlgo(String algo) {
		this.algo = algo;
	}

	public String getStructure() {
		return structure;
	}

	public void setStructure(String structure) {
		this.structure = structure;
	}

	public Integer getPredid() {
		return predid;
	}

	public void setPredid(int predid) {
		if (this.predid == null)
			this.predid = predid;
	}

	public RnaAlgoPrediction(String algo, String structure) {
		this(algo, structure, null);
	}

	public RnaAlgoPrediction(String algo, String structure, Integer predid) {
		this.algo = algo;
		this.structure = structure;
		this.predid = predid;
	}
	
	@Override
	public String toString() {
		return "(" + this.getPredid() + ") " + this.getAlgo() + " :: " + this.structure;
		
	}
}
